import {post} from "../utils/request"

// 注册
const regAPI = (data)=>post("/api/v1/auth/reg",data)

// 登录
const loginAPI = (data)=>post("/api/v1/auth/login",data)

export {regAPI,loginAPI}